#if !defined(AFX_COLOREDLISTCTRL_H__86FEBE8E_F6FA_429F_B740_76F1769C81C6__INCLUDED_)
#define AFX_COLOREDLISTCTRL_H__86FEBE8E_F6FA_429F_B740_76F1769C81C6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CListCtrlEx.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CListCtrlEx window

class CListCtrlEx : public CListCtrl
{
    // Construction
public:
    CListCtrlEx();

    // Attributes
public:
    COLORREF m_colRow1;
    COLORREF m_colRow2;
    COLORREF m_fgcolor;
    COLORREF m_bgcolor;
    // Operations
public:

    // Overrides
    // ClassWizard generated virtual function overrides
    //{{AFX_VIRTUAL(CListCtrlEx)
    //}}AFX_VIRTUAL
    //{{AFX_MSG(CListCtrlEx)
    afx_msg BOOL OnEraseBkgnd(CDC* pDC); 
    //}}AFX_MSG
    afx_msg void OnCustomDraw(NMHDR* pNMHDR, LRESULT* pResult);
    afx_msg LRESULT OnSetFont(WPARAM wParam, LPARAM);
    DECLARE_MESSAGE_MAP()
    // Implementation
public:
    virtual ~CListCtrlEx();

    void SetRowColor(COLORREF color1, COLORREF color2);
    void SetFgColor(COLORREF color);
    void SetBgColor(COLORREF color);
    // Generated message map functions
private:
     DWORD m_dwRowHeight;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_COLOREDLISTCTRL_H__86FEBE8E_F6FA_429F_B740_76F1769C81C6__INCLUDED_)



///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

